:root {
  --vt-c-white: #ffffff;
  --color-text: #0000000;
  --color-background: #F4F4F4;
  --color-text-price: #ee0a24;
  --border-space: 15px;
  --size-border-radius: 16px;
}

// 改变全局值的方法，后续有时间了封装在store里，首次加载时通过接口返回并填入
// document.getElementsByTagName(‘body’)[0].style.setProperty(’–marginLeft’, ‘300px’);

*::after {
  box-sizing: border-box;
  margin: 0;
  position: relative;
  font-weight: normal;
}

$device-width: 750; // 设计稿宽度
$rem: math.div($device-width, 10rem);
$vw: math.div(100vw, $device-width);

body {
  height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 24px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
